const DEFAULT_FORMAT_TIME = 'YYYY-MM-DD HH:mm:ss';
import dayjs from 'dayjs';
import utc from 'dayjs/plugin/utc';
dayjs.extend(utc);
export function utcFormatTime(
  UTCString: string,
  format: string = DEFAULT_FORMAT_TIME
) {
  return dayjs.utc(UTCString).format(format);
}
